package com.sz.youban.dt.entity.allinpay;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 实名认证，请求日志
 * </p>
 *
 * @author liyang
 * @since 2017-07-03
 */
@TableName("dt_pay_authentication_log")
public class DtPayAuthenticationLog extends Model<DtPayAuthenticationLog> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 渠道
     */
	private Integer channel;
    /**
     * 申请流水号
     */
	@TableField("request_no")
	private String requestNo;
    /**
     * 商户号
     */
	@TableField("merchant_id")
	private String merchantId;
    /**
     * 银行卡号
     */
	@TableField("account_no")
	private String accountNo;
    /**
     * 真实姓名
     */
	@TableField("account_name")
	private String accountName;
    /**
     * 身份证号
     */
	@TableField("card_id")
	private String cardId;
    /**
     * 手机号
     */
	private String phone;
    /**
     * 返回响应码
     */
	@TableField("result_code")
	private Integer resultCode;
    /**
     * 返回信息描述
     */
	@TableField("result_msg")
	private String resultMsg;
    /**
     * 提交时间
     */
	@TableField("sub_time")
	private Date subTime;
    /**
     * 时间戳
     */
	private Date tsp;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getChannel() {
		return channel;
	}

	public void setChannel(Integer channel) {
		this.channel = channel;
	}

	public String getRequestNo() {
		return requestNo;
	}

	public void setRequestNo(String requestNo) {
		this.requestNo = requestNo;
	}

	public String getMerchantId() {
		return merchantId;
	}

	public void setMerchantId(String merchantId) {
		this.merchantId = merchantId;
	}

	public String getAccountNo() {
		return accountNo;
	}

	public void setAccountNo(String accountNo) {
		this.accountNo = accountNo;
	}

	public String getAccountName() {
		return accountName;
	}

	public void setAccountName(String accountName) {
		this.accountName = accountName;
	}

	public String getCardId() {
		return cardId;
	}

	public void setCardId(String cardId) {
		this.cardId = cardId;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Integer getResultCode() {
		return resultCode;
	}

	public void setResultCode(Integer resultCode) {
		this.resultCode = resultCode;
	}

	public String getResultMsg() {
		return resultMsg;
	}

	public void setResultMsg(String resultMsg) {
		this.resultMsg = resultMsg;
	}

	public Date getSubTime() {
		return subTime;
	}

	public void setSubTime(Date subTime) {
		this.subTime = subTime;
	}

	public Date getTsp() {
		return tsp;
	}

	public void setTsp(Date tsp) {
		this.tsp = tsp;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
